xg=linspace(xl(1),xl(2),10);

plot(xg,polyval([fres.p1 fres.p2],xg),'k','LineWidth',2);

xlim(xl);
ylim(yl);
grid;
hold off